Master thesis liblaiogen: a generic LAIO implementation

نویسندگان

  • Olivier Crameri
  • Aravind Menon
  • Willy Zwaenepoel
چکیده

In this thesis, we introduce a new implementation of the LAIO api, liblaiogen. LAIO stands for Lazy Asynchronous I/O. It is an api for performing asynchronous I/O. Among several benefits, one of the most important is that LAIO is lazy, in the sense that it creates a continuation only when an operation actually blocks. LAIO was introduced along with an implementation for FreeBSD using scheduler activations to provide this lazy characteristic. Our objective is to provide a cross-platform implementation. To achieve this, liblaiogen uses threads eagerly instead of relying on scheduler activations to save threads for non blocking operations. By doing this we challenge the argument that kernel threads are inherently expensive, which is the justification for the need of a mechanism such as scheduler activations. We compare the performance of liblaiogen in the scope of eventdriven web servers, using the same web server and the same benchmark that was used to benchmark the original FreeBSD implementation of LAIO. We show that on recent versions of Linux with lightweight threading support, the web server using liblaiogen performs better than the one using LAIO on FreeBSD. We highlight the different components of the operating system that are responsible for the differences in performance.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Joni-matti Määttä Design and Implementation of a Generic Image Reconstruction Pipeline for Camera Phones

TAMPERE UNIVERSITY OF TECHNOLOGY Master’s Degree Programme in Information Technology MÄÄTTÄ, JONI-MATTI: Design and Implementation of a Generic Image Reconstruction Pipeline for Camera Phones Master of Science Thesis, 43 pages, 0 Appendix pages May 2013 Major: Computer and processor engineering Examiners: Prof. Timo D. Hämäläinen, Dr. Tech. Jarno Vanne

متن کامل

Examining the Generic Features of Thesis Acknowledgments: A Case of Iranian MA Graduate Students Majoring in Teaching to Speakers of Other Languages (AZFA) and TEFL

Thesis acknowledgement is a written genre in which MA graduate students offer their gratitude to individuals, who have contributed to the completion of their study. The aim of the current study was to examine the thesis acknowledgements written by Iranian MA students in the field of Persian Language Teaching to Non-Persian Speakers (Amouzeshe Zaban e Farsi be Kharejian, AZFA) and TEFL in terms ...

متن کامل

Lazy Asynchronous I/O for Event-Driven Servers

We introduce Lazy Asynchronous I/O (LAIO), a new asynchronous I/O interface that is well suited to event-driven programming. LAIO is general in the sense that it applies to all blocking I/O operations. Furthermore, it is lazy in the sense that it creates a continuation only when an operation actually blocks, and it notifies the application only when a blocked operation completes in its entirety...

متن کامل

Evaluating the quality of master degree thesis of Educational Psychology graduates

The purpose of the present research was to evaluate and identify the quality and the weaknesses and strengths of different sections of master's degree thesis in educational psychology at Tehran universities. The research method was evaluation and the statistical population included all the master's degree theses in the field of educational psychology at Tehran universities during the 2013-2016 ...

متن کامل

Design and Implementation of a Tactical Generator for Turkish, a Free Constituent Order Language

a thesis submitted to the department of computer engineering and information science and the institute of engineering and science of bilkent university in partial fulfillment of the requirements for the degree of master of science ii I certify that I have read this thesis and that in my opinion it is fully adequate, in scope and in quality, as a thesis for the degree of Master of Science. I cer...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005